package com.wht.service.admin.impl;

import com.wht.mapper.admin.AdminRegisterDao;
import com.wht.mapper.admin.impl.AdminRegisterDaoImpl;
import com.wht.domain.Admin;
import com.wht.service.admin.AdminRegisterService;

/**
 * @author wanghaotian
 * time:2022/11/21,0021 22:05
 * description:
 */

public class AdminRegisterServiceImpl implements AdminRegisterService {
    private AdminRegisterDao adminRegisterDao = new AdminRegisterDaoImpl();
    @Override
    public int addAdmin(Admin admin) {
        return adminRegisterDao.insertAdmin(admin);
    }
}
